package org.flik.client.login.service;

import org.flik.server.dto.DuplicateUserExcecption;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("loginService")
public interface LoginService extends RemoteService {
	public Boolean login(String login, String password);
	void createUser(String userName, String password, String firstName, String lastName, String email) throws DuplicateUserExcecption;
}
